const getters = {
    sidebar: state => state.app.sidebar,
    language: state => state.app.language,
    size: state => state.app.size,
    device: state => state.app.device,
    token: state => state.user.token,
    username: state => state.user.username,
    loginId: state => state.user.id,
    name: state => state.user.name,
    department: state => state.user.department,
    isAdmin:state => state.user.isAdmin,
    avatar: state => state.user.avatar,
    status: state => state.user.status,
    roles: state => state.user.roles,
    setting: state => state.user.setting,
    permission_routers: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    errorLogs: state => state.errorLog.logs
}
export default getters
